package com.day03;

/**
 * 定义一个接口：定义定位方法
 * <p>
 * 定义一个实现此接口
 */
interface ILocation {
    public void getLocation();
}

class IlocationImpl implements ILocation {

    @Override
    public void getLocation() {
        System.out.println(getClass());
    }
}

class TestImpl{
    public static void main(String[] args) {
        ILocation iLocation=new IlocationImpl();
        iLocation.getLocation();
    }
}

interface IPhoto {
    public static final int i = 10;
    int NUMBER = 20;

    public abstract void t1();

    void takePhoto();
}